package com.baby.security.pojo;

import com.baby.security.model.Permission;
import com.baby.security.model.Role;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 猪猪
 * @since 2022/6/20
 * 用户表信息
 */
@Data
public class UserInfoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private String userName;

    private String password;

    private String loginName;

    private Integer gender;

    private String phone;

    private String address;

    private Integer organizationId;

    private Boolean state;

    private String email;

    // 权限集合
    List<Permission> permissionList;

    // 角色集合
    List<Role> roleList;
}